projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aa1711
)
(setup_coding_system): Be sure to initialize coding->category_idx.
author
Kenichi Handa
<handa@m17n.org>
Tue, 5 Dec 2000 12:34:56 +0000
(12:34 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 5 Dec 2000 12:34:56 +0000
(12:34 +0000)
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index 1b2599712a301112b6d80ce78ccacc223963f34a..62bb2223d22335338d80ce839a334749179630f9 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-3011,6
+3011,12
@@
setup_coding_system (coding_system, coding)
}
else
coding->type = coding_type_no_conversion;
+ /* Initialize this member. Any thing other than
+ CODING_CATEGORY_IDX_UTF_16_BE and
+ CODING_CATEGORY_IDX_UTF_16_LE are ok because they have
+ special treatment in detect_eol. */
+ coding->category_idx = CODING_CATEGORY_IDX_EMACS_MULE;
+
return 0;
}